package ZuCheXitong;

public class bieke extends jiaoche{
    private double price;
    private int day;
    bieke(String color,int day){
        super("别克",color);
        this.price=300;
        this.day=day;
    }
    public double Sum(){
        double sum;
        sum=day*price;
        return sum;
    }
}
